package com.yeqian.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author : yeqian
 * @Date : 2021/1/9 13:09
 * ip统计实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@Table(name = "ip_statistics ")
public class IpStatistics implements Serializable {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * ip地址
     */
    private String ip;

    /**
     * 访问次数
     */
    @Column(name = "request_count")
    private Integer requestCount;

    /**
     * 访问日期
     */
    @Column(name = "request_date")
    private String requestDate;

}
